package com.none.web.model;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "rgt_bookstat")
public class TBookstat implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3087485578503147579L;
	@Id
	private Integer  BDetail_Sn;//
	private String  BDetail_staffname;//
	private String  BDetail_staffNo;//
	private String  BDetail_staffemail;//
	private String  BDetail_BookName;//Email address of the borrower
	private String  BDetail_BookmgtNo;//
	private Timestamp  BDetail_RgtDate;//预约时间
	private Timestamp  BDetail_CfmDate;//预约取书时间
	private Integer  BDetail_status;//状态
	private Timestamp  BDetail_RtnDate;//预计还书时间（也是到期时间）
	private String  BDetail_Susp;//是否续借 Y or N
	private String  BDetail_Return;//是否还书  Y or N
	private Integer  BDetail_BookSN;//
	private String  BDetail_Tel;//
	private Timestamp  BDetail_RelDate;//实际还书时间
	private Timestamp  BDetail_checkoutDate;//实际取书时间
	private Timestamp  BDetail_cancelDate;//取消预约时间
	private String  BDetail_QRcode;//二维码
	private String  borrow_id;//GLTc+[YYYYMMDDHHMM]+[borrower staff ID]
	private String username;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "BDetail_Sn", unique = true, nullable = false,updatable=false)
	public Integer getBDetail_Sn() {
		return BDetail_Sn;
	}
	public void setBDetail_Sn(Integer bDetail_Sn) {
		BDetail_Sn = bDetail_Sn;
	}
	@Column(name = "BDetail_staffname")
	public String getBDetail_staffname() {
		return BDetail_staffname;
	}
	public void setBDetail_staffname(String bDetail_staffname) {
		BDetail_staffname = bDetail_staffname;
	}
	@Column(name = "BDetail_staffNo")
	public String getBDetail_staffNo() {
		return BDetail_staffNo;
	}
	public void setBDetail_staffNo(String bDetail_staffNo) {
		BDetail_staffNo = bDetail_staffNo;
	}
	@Column(name = "BDetail_staffemail")
	public String getBDetail_staffemail() {
		return BDetail_staffemail;
	}
	public void setBDetail_staffemail(String bDetail_staffemail) {
		BDetail_staffemail = bDetail_staffemail;
	}
	@Column(name = "BDetail_BookName")
	public String getBDetail_BookName() {
		return BDetail_BookName;
	}
	public void setBDetail_BookName(String bDetail_BookName) {
		BDetail_BookName = bDetail_BookName;
	}
	@Column(name = "BDetail_BookmgtNo")
	public String getBDetail_BookmgtNo() {
		return BDetail_BookmgtNo;
	}
	public void setBDetail_BookmgtNo(String bDetail_BookmgtNo) {
		BDetail_BookmgtNo = bDetail_BookmgtNo;
	}
	@Column(name = "BDetail_RgtDate")
	public Timestamp getBDetail_RgtDate() {
		return BDetail_RgtDate;
	}
	public void setBDetail_RgtDate(Timestamp bDetail_RgtDate) {
		BDetail_RgtDate = bDetail_RgtDate;
	}
	@Column(name = "BDetail_CfmDate")
	public Timestamp getBDetail_CfmDate() {
		return BDetail_CfmDate;
	}
	public void setBDetail_CfmDate(Timestamp bDetail_CfmDate) {
		BDetail_CfmDate = bDetail_CfmDate;
	}
	@Column(name = "BDetail_status")
	public Integer getBDetail_status() {
		return BDetail_status;
	}
	public void setBDetail_status(Integer bDetail_status) {
		BDetail_status = bDetail_status;
	}
	@Column(name = "BDetail_RtnDate")
	public Timestamp getBDetail_RtnDate() {
		return BDetail_RtnDate;
	}
	public void setBDetail_RtnDate(Timestamp bDetail_RtnDate) {
		BDetail_RtnDate = bDetail_RtnDate;
	}
	@Column(name = "BDetail_Susp")
	public String getBDetail_Susp() {
		return BDetail_Susp;
	}
	public void setBDetail_Susp(String bDetail_Susp) {
		BDetail_Susp = bDetail_Susp;
	}
	@Column(name = "BDetail_Return")
	public String getBDetail_Return() {
		return BDetail_Return;
	}
	public void setBDetail_Return(String bDetail_Return) {
		BDetail_Return = bDetail_Return;
	}
	@Column(name = "BDetail_BookSN")
	public Integer getBDetail_BookSN() {
		return BDetail_BookSN;
	}
	public void setBDetail_BookSN(Integer bDetail_BookSN) {
		BDetail_BookSN = bDetail_BookSN;
	}
	@Column(name = "BDetail_Tel")
	public String getBDetail_Tel() {
		return BDetail_Tel;
	}
	public void setBDetail_Tel(String bDetail_Tel) {
		BDetail_Tel = bDetail_Tel;
	}
	@Column(name = "BDetail_RelDate")
	public Timestamp getBDetail_RelDate() {
		return BDetail_RelDate;
	}
	public void setBDetail_RelDate(Timestamp bDetail_RelDate) {
		BDetail_RelDate = bDetail_RelDate;
	}
	
	@Column(name = "BDetail_checkoutDate")
	public Timestamp getBDetail_checkoutDate() {
		return BDetail_checkoutDate;
	}
	public void setBDetail_checkoutDate(Timestamp bDetail_checkoutDate) {
		BDetail_checkoutDate = bDetail_checkoutDate;
	}
	
	@Column(name = "BDetail_cancelDate")
	public Timestamp getBDetail_cancelDate() {
		return BDetail_cancelDate;
	}
	public void setBDetail_cancelDate(Timestamp bDetail_cancelDate) {
		BDetail_cancelDate = bDetail_cancelDate;
	}
	@Column(name = "BDetail_QRcode")
	public String getBDetail_QRcode() {
		return BDetail_QRcode;
	}
	public void setBDetail_QRcode(String bDetail_QRcode) {
		BDetail_QRcode = bDetail_QRcode;
	}
	@Column(name = "borrow_id")
	public String getBorrow_id() {
		return borrow_id;
	}
	public void setBorrow_id(String borrow_id) {
		this.borrow_id = borrow_id;
	}
	@Column(name = "username")
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	
}
